from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^api/v1.0/user/houses/$', views.Houses.as_view()),
    url(r'^api/v1.0/houses/$', views.Newhouse.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/images/$',views.Houseimage.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/$',views.Houseinfo.as_view()),
    url(r'^api/v1.0/houses/index/$',views.Firstview.as_view()),
    url(r'^api/v1.0/houses/search/$',views.Firsts.as_view()),

]


